
const componentFiles = require.context('./components', false, /\.vue$/)
const components = componentFiles.keys().reduce(
    (components, modulePath) => {
        const name = modulePath.replace('.vue', '').replace('./', '')
        const component = componentFiles(modulePath).default
        components[name] = component
        return components
    }
, [])
const names = []
for (const n in components) {
    names.push(n)
}
export const ComponentNames = [
    ...names
]
export const BuildInComponents = {
    ...components
}